package com.fita.wechat.dao;

import com.demo2do.core.persistence.annotation.Dao;
import com.demo2do.core.persistence.annotation.Query;
import com.demo2do.core.persistence.annotation.Variable;
import com.fita.entity.wallet.UserWallet;

/**
 * @description:
 * @author: 11200
 * @date: 2019/7/1
 */
@Dao("hibernate")
public interface UserWalletDao {

    @Query("FROM UserWallet WHERE agent.mobile = :mobile")
    UserWallet loadByMobile(@Variable("mobile") String mobile);
}
